home *** CD-ROM | disk | FTP | other *** search
- : CAMS installation batch file
- : requires a source diskette and a destination disk(ette), both without colons
- : syntax: install [source] [destination]
-
- ECHO OFF
- CLS
-
- : test for command line switches
- IF X%1X == XX GOTO crashfrom
- IF X%2X == XX GOTO crashto
-
- : get user verification of switches
- ECHO CAMS will be installed:
- ECHO from %1
- ECHO ^ If the character above the caret is a colon press Ctrl-C
- ECHO
- ECHO to %2
- ECHO ^ If the character above the caret is a colon press Ctrl-C
- PAUSE
-
- : do it
- CLS
- ECHO This program is installing CAMS from the root directory of a diskette
- ECHO at %1: into a directory named CAMS on the disk(ette) the at %2:
- %1:
- CD\
- %2:
- CD\
- ECHO Creating the CAMS directory...
- MD CAMS
- ECHO
- ECHO Extracting the CAMS files from compressed format. Please wait...
- %1:\CAMS12 %2:\CAMS
- ECHO
- GOTO done
- :crashfrom
- ECHO You have not provided a "from" location. Terminating.
- GOTO failed
- :crashto
- ECHO You have not provided a "to" location. Terminating.
- GOTO failed
- :done
- CLS
- ECHO
- ECHO
- ECHO
- ECHO
- ECHO
- ECHO
- ECHO
- ECHO
- ECHO Finished.
- ECHO
- ECHO You should copy the following to the appropriate
- ECHO WordPerfect directory/subdirectory.
- ECHO
- ECHO VRLETTER.PRI
- ECHO VRPERLST.PRI
- ECHO VISIT.WPM
- ECHO VISIT-M.WPM
- ECHO
- ECHO To run CAMS, change to the CAMS directory and type "CAMS" and press ENTER.
- :failed
-